// 新品发布
#share {
    width: 100%;
    height: 87px;

    a {
        width: 100%;
        height: 100%;

        img {
            width: 100%;
            height: 100%;
        }
    }
}

// 商品
#product {
    background-color: #f9f9f9 !important;
    padding-bottom: 50px;
    padding-top: 10px;

    .choose {
        padding: 0;

        li {
            float: left;
            width: 25%;
            text-align: center;
            line-height: 63px;
            box-sizing: border-box;
            background: #eee;
            height: 63px;
            border-right: 1px solid #d7dde3;
            font-size: 14px;
            color: #1b1811;
            font-weight: 600;
            cursor: pointer;
            position: relative;
            list-style: none;

            img {
                position: absolute;
                right: 40px;
                top: 22px;
                transition: all .3s;
                display: none;
            }
        }
    }

    li:hover {
        border-bottom: 5px solid #b1b9c2;
    }

    li:hover img {
        display: block;
        right: 20px;
    }

    .bottom {
        height: 1024px;
        // background-color: yellow;
        position: relative;

        >div {
            width: 100%;
            height: 100%;
            position: absolute;
            left: 0;
            padding: 0;
            display: none;



            .newThing {
                width: 100%;
                height: 140px;
                display: flex;
                justify-content: center;
                align-items: center;
                flex-direction: column;

                .pic {
                    width: 40px;
                    height: 40px;
                    position: relative;

                    img {
                        width: 40px;
                        height: 40px;
                        cursor: pointer;
                        position: absolute;
                    }

                    .second {
                        display: none;
                    }

                }

                .pic:hover .first {
                    display: none;
                }

                .pic:hover .second {
                    display: block;
                }

                p {
                    color: #616161;
                    cursor: pointer;
                }
            }

            .mach {
                height: 355px;
                display: flex;
                padding: 0;
                justify-content: space-between;

                >div {
                    width: 393px;
                    height: 355px;
                    background: #eee;
                    position: relative;
                    overflow: hidden;
                    cursor: pointer;

                    img {
                        margin-left: -25%;
                        margin-top: 70px;
                        transition: .2s all;
                        width: 230px;
                        height: 230px;
                    }

                    .content {
                        position: absolute;
                        left: 42%;
                        top: 35%;
                        width: 190px;
                        height: 130px;

                        // background-color: yellow;
                        .name {
                            font-size: 16px;
                            color: #3b3e40;
                            line-height: 30px;
                            white-space: nowrap;
                            text-overflow: ellipsis;
                            overflow: hidden;
                            word-break: break-all;
                        }

                        .cons {
                            color: #798187;
                            font-size: 14px;
                            padding-right: 10px;
                            text-overflow: -o-ellipsis-lastline;
                            overflow: hidden;
                            text-overflow: ellipsis;
                            display: -webkit-box;
                            -webkit-line-clamp: 2;
                            line-clamp: 2;
                            -webkit-box-orient: vertical;
                            height: 38px;
                            overflow: hidden;
                        }

                        .price {
                            color: #232323;
                            font-size: 22px;
                            line-height: 60px;
                            font-weight: 600;
                        }
                    }
                }

                >div:hover img {
                    transition: .5s all;
                    transform: translateX(20%);
                    -ms-transform: translateX(20%);
                    -webkit-transform: translateX(20%);
                }

                >div:hover .content {
                    transition: .5s all;
                    position: absolute;
                    left: 44%;
                    font-size: 18px;
                    top: 35%;
                    width: 190px;
                }
            }

            .production {
                padding: 0;
                height: 520px;
                display: flex;
                justify-content: space-between;

                >div {
                    width: 595px;
                    height: 520px;
                    // background-color: pink;

                    img {
                        width: 100%;
                        height: 100%;
                    }

                    img:hover {
                        ms-transform: scale(1.01);
                        -moz-transform: scale(1.01);
                        -webkit-transform: scale(1.01);
                        transform: scale(1.01);
                        transition: all .2s;
                        -moz-box-shadow: 0 5px 10px silver;
                        -webkit-box-shadow: 0 5px 10px silver;
                        box-shadow: 0 5px 10px silver;
                    }
                }

                .right {
                    display: flex;
                    flex-direction: column;
                    justify-content: space-between;

                    div {
                        width: 100%;
                        height: 255px;
                        background-color: yellow;
                    }
                }

            }
        }

        .active {
            display: block;

            // background-color: pink;

        }
    }
}

// 列表
#list {
    h3 {
        width: 100% !important;
        height: 105px !important;
        img{
            width: 100%;
            height: 100%;
        }
    }

    .computer {
        width: 1000px;
        display: flex;
        justify-content: space-between;

        div {
            cursor: pointer;
            // float: left;
            background: #fff;
            width: 257px;
            height: 351px;
            margin-top: 7px;
            box-sizing: border-box;
            position: relative;
            margin-right: 7px;
            padding: 0;
            display: flex;
            flex-direction: column;
            align-items: center;

            img {
                width: 185px;
                height: 185px;
            }

            .name {
                width: 217px;
                height: 20px;
                overflow: hidden;
                text-overflow: ellipsis;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                white-space: normal;
                word-break: break-all;
                margin: 3px auto 0;
                margin-bottom: 0px;
                font-size: 14px;
                color: #3B3B3B;
                margin-bottom: 4px;
            }

            .pro {
                font-size: 12px;
                color: #959595;
                height: 35px;
                width: 217px;
                overflow: hidden;
                text-overflow: ellipsis;
                padding-top: 4px;
                border-top: 1px dotted #DADADA;
                display: -webkit-box;
                -webkit-line-clamp: 2;
                -webkit-box-orient: vertical;
                box-sizing: border-box;
                white-space: normal;
                word-break: break-all;
                margin: 0 auto;
            }

            p {
                position: absolute;
                bottom: 31px;
                height: 25px;
                width: 217px;
                font-size: 0;
                line-height: 25px;
                margin: 0;

                .money {
                    font-size: 18px;
                    vertical-align: bottom;
                    margin-right: 4px;
                    color: #E1140A;
                }

                .buy {
                    display: inline-block;
                    height: 25px;
                    background: #E1140A;
                    background-color: rgb(225, 20, 10);
                    line-height: 25px;
                    font-size: 12px;
                    text-align: center;
                    color: #fff;
                    letter-spacing: 1.2px;
                    padding: 0 7px;
                    vertical-align: middle;
                    position: absolute;
                    right: 0;
                }
            }
        }
    }
}